package com.cn.transfer.common.entity.jiandaoyun;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class JdyPurchaseOrder  {
    private Creator creator;
    private Updater updater;
    private Deleter deleter;
    private String createTime;
    private String updateTime;
    private String deleteTime;
    private String flowState;
    private String ghs;
    private String djbh;
    private String djrq;
    private String yjdh;
    private String bm;
    private String ghsbm;
    private String ghsjc;
    private Cgy cgy;
    private String ck;
    private String ddje;
    private String xsddh;
    private String chdd;
    private String ywbm;
    private List<Mx> mx;
    private Zdr zdr;
    private String _id;
    private String appId;
    private String entryId;
    private Integer status;
    private List<Task> tasks;
}

@Data
 class Assignee {
    private String username;
    private String name;
    private int type;
    private int status;
    private String integrate_id;
    private List<Integer> departments;
}

@Data
class Creator {
    private String name;
    private String username;
    private int status;
    private int type;
}

@Data
class Updater {
    private String name;
    private String username;
    private int status;
    private int type;
}

@Data
class Deleter {
    // Fields for the Deleter class if available in the JSON data
}

@Data
class Cgy {
    private String name;
    private String username;
    private int status;
    private int type;
    private List<Integer> departments;
    private String integrate_id;
}

@Data
class Zdr {
    private String name;
    private String username;
    private int status;
    private int type;
    private List<Integer> departments;
    private String integrate_id;
}
